home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / MPW_TOOL / TOOLS / TOOLS_WI / MACGAWK / MACINTOS.H_R
Text File  |  1992-01-30  |  5KB  |  106 lines

  1. About GNU awk for the Macintosh...
  2.  
  3. ------------------------------------------------------------------------
  4.  
  5. January 30/1992
  6. Stephen Smith
  7.  
  8. This MPW port of GNU awk is based on the Mac application port of GNU awk for LightSpeed C by Tom Maszerowski. It was compiled under MPW 3.1 C and does not seem to be 32 bit clean (!).  A quick recompile under 3.2 C (MPW PQR5) has not seemed to help out in that regard. It was a quick port (a matter of a couple of hours) intended to let me use it on the MPW command line rather than the LightSpeed C SIOW window. I'm sure that there are lots of gremlins lurking inside of it.
  9.  
  10. You can reach me at the following EMail addresses
  11.  
  12.         CompuServe:    Stephen Smith 73177,1434
  13.       Internet:        stephens@vm2.yorku.ca
  14.                          stephens@yorkvm2
  15.       UUCP:            Stephen.Smith@canrem.uucp
  16.  
  17. The following is Tom Maszerowski's original notes for the application version:
  18.  
  19. ------------------------------------------------------------------------
  20.  
  21. This is GNU awk, gawk, for the Macintosh. For those who don╒t know, GNU stands
  22. for GNU╒s Not UNIX, an as-yet unfinished operating system,and is the primary
  23. goal of the Free Software Foundation. The FSF has publically condemned Apple
  24. Computer for it╒s litigation in defense of perceived copyrights. The FSF,
  25. therefore, has no knowledge of the existence of this gawk version, and would
  26. not support it if it did. Do not report bugs or make any other contact with FSF
  27. concerning Macintosh gawk.
  28.     
  29. Why Macintosh gawk exists
  30.  
  31. gawk for the Macintosh exists for a number of reasons. First, I use gawk
  32. extensively as part of my day to day work activities and wanted to have it at
  33. home. Second, I was looking for a project in C to work on at home to learn Mac
  34. programming. And third, it was a challenge. I have every intention of following
  35. the GNU copyleft, meaning that I can not sell gawk for profit and must also
  36. make full source available.
  37.     
  38. Macintosh gawk is Free Software Mac
  39.  
  40. gawk is distributed totally free of charge. It is not shareware or public
  41. domain. I encourage you to read the documents that describe the GNU Public
  42. License, or GPL so that you understand what this means.
  43.     
  44. Differences from UNIX gawk
  45.  
  46. Macinstosh gawk lacks some features that UNIX-like systems provide. These
  47. features include pipes and multiple processes. Mac gawk will quit when source
  48. programs invoke these functions. I caution against redirecting input and output
  49. in getline and print/printf calls. All other features should work the same.
  50.     
  51. Macintosh caveats
  52.         
  53. Multifinder
  54.  
  55. Mac gawk will run under Multifinder, but is not particularly MF adapted. It is
  56. set to use a partition size of 768K but large input files may require more,
  57. much  more. Operation under Finder should be fine.
  58.         
  59. Command Line
  60.  
  61. Macintosh gawk uses the THINK C ccommand interface. This provides a dialog box
  62. that allows the user to enter UNIX shell-like command lines. Redirection of
  63. input and output is done with radio buttons.
  64.         
  65. TEXT Files Mac gawk reads and writes standard Macintosh TEXT
  66. files. To use word processor files, it will be necessary to save them as TEXT
  67. first.
  68.     
  69. Behind the scenes
  70.  
  71. Compilation Mac gawk was compiled using THINK C 4.0.2 on a 4M Mac+ running
  72. System 6.0.2. gawk requires bison to generate the awk.tab.c file. This is
  73. generally only required when making changes in the actual awk language. The
  74. source files were converted to comply with the ANSI standard ( as THINK defines
  75. it ) and makes full use of function prototypes.
  76.         
  77. The author
  78.  
  79. I╒m not really the author, I just did the porting. My name is Tom Maszerowski,
  80. I work for CPU Inc. as a consulting software engineer at Moscom, Inc. in East
  81. Rochester, NY. I mention this in expectation that I may not always be available
  82. at the addresses listed below. Moscom is nice enough to allow me email and UUCP
  83. acccess and I thank them, but there are no guarantees. Thanks to my wife as
  84. well, for allowing me the time at home to do this.
  85.     
  86. Bugs and updates
  87.  
  88. Please do not contact the FSF concerning this version of gawk. I expect to be
  89. the sole point of contact for bugs and source code updates. I monitor the GNU
  90. groups on NETNEWS and will try to incorporate them as needed. If you make
  91. changes to the gawk source you feel will benefit others send them to me.
  92.     
  93. Addresses
  94.  
  95. I can be reached at the following email addresses:
  96.                               tcm@moscom.com
  97.                    {rit,tropix,ur-valhalla}!moscom!tcm
  98.  
  99. Mail delivery is usually quite good and I try to respond in a timely fashion (
  100. although timely is a subjective term ).
  101.  
  102. Manual
  103.  
  104. I am currently converting the GNU awk manual from texinfo format to
  105. MacWrite5.0. This willl be made available as soon as possible. I expect this
  106. means before the end of October '90.